package com.example.entity;

/**
 * 功能：
 * 日期：2024/1/12 15:12
 */
public class User extends Account {
    //uid
    private Integer uid;
    //账号
    private String account;
    //密码
    private String password;
    //用户名
    private String username;
    //头像
    private String avatar;
    //角色
    private String role;
    //个性签名
    private String signature;
    //电话
    private String phone;
    //积分
    private Integer score;

    @Override
    public Integer getId() {
        return uid;
    }
    @Override
    public void setId(Integer id) {
        this.uid = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    @Override
    public String getPassword() {
        return password;
    }

    @Override
    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String getUsername() {
        return username;
    }

    @Override
    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String getAvatar() {
        return avatar;
    }

    @Override
    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    @Override
    public String getRole() {
        return role;
    }

    @Override
    public void setRole(String role) {
        this.role = role;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }
}